package jgl.vajra.management.part.mine.contract;

import java.util.List;
import java.util.Map;

import io.reactivex.Observable;
import jgl.vajra.management.bean.CarAdvertisementPictureBean;
import jgl.vajra.management.bean.CarMemberPictureBean;
import jgl.vajra.management.databinding.ActivityMemberApplyBinding;
import jgl.vajra.management.widget.mvvm.model.BaseModel;
import jgl.vajra.management.widget.mvvm.view.BaseMVVMView;
import jgl.vajra.management.widget.mvvm.viewmodel.BaseViewModel;

public class MemberApplyContract {
    public abstract static class Model extends BaseModel {
        public abstract Observable<List<CarMemberPictureBean>> getCarMemberPictureData(Map<String, Object> map);

        public abstract Observable<CarAdvertisementPictureBean> getCarAdvertisementPictureData(Map<String, Object> map);
    }

    public interface View extends BaseMVVMView {

        void onShareFriends(int type);

        void onPicture(int type);

        void onDetermine();

        void returnCarMemberPictureData(List<CarMemberPictureBean> data);

        void returnCarAdvertisementPictureData(CarAdvertisementPictureBean data);
    }

    public abstract static class ViewModel extends BaseViewModel<View, ActivityMemberApplyBinding, Model> {

        public abstract void getCarMemberPictureData(Map<String, Object> map);

        public abstract void getCarAdvertisementPictureData(Map<String, Object> map);
    }
}
